package study.cell_game.objects.tokens;

import study.cell_game.enums.TokenType;

public class RamLogic implements TokenLogic {
	
	private Token parent;
	
	@Override
	public void update() {
		//do nothing -> this token does nothing here on its update 
		
	}

	@Override
	public boolean isStackAllowed(TokenType type) {
		 return false;
	}

	@Override
	public boolean hasOwner() {
		return parent.getOwner() != null;
	}

	public Token getParent() {
		return parent;
	}

	public void setParent(Token parent) {
		this.parent = parent;
	}


}
